<template>
  <!-- 没有数据显示 -->
  <view class="nodata">
    <image class="img" src="/static/No data.png" mode="scaleToFill" />
    <view class="no">{{ t('nodata') }}</view>
  </view>
</template>

<script setup>
import { useI18n } from 'vue-i18n';
const { t } = useI18n();
</script>

<style lang="scss" scoped>
.nodata {
  width: 750rpx;
  /* height: 100vh; */
  /* background-color: #082233; */
  background-color: transparent;

  .img {
    display: block;
    width: 534rpx;
    height: 356rpx;
    margin: 250rpx auto 0;
  }
  .no {
    height: 46rpx;
    font-size: 40rpx;
    font-family: Arial, Arial;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.5);
    line-height: 47rpx;
    text-align: center;
  }
}
</style>
